package com.example.springbootstudy.service;

import com.example.springbootstudy.controller.req.AddGroupReq;
import com.example.springbootstudy.controller.req.JoinOrQuitGroupReq;
import com.example.springbootstudy.controller.req.SearchGroupReq;
import com.example.springbootstudy.controller.vo.GroupInfoVo;

import java.util.List;

public interface GroupService {

    boolean joinGroup(JoinOrQuitGroupReq req);

    boolean quitGroup(JoinOrQuitGroupReq req);

    boolean addGroup(AddGroupReq req);

    List<GroupInfoVo> searchGroup(SearchGroupReq req);
}
